package com.java.demo.repository;

import com.java.demo.model.User;
import org.springframework.stereotype.Repository;

/**
 * @Author: wenjingyuan
 * @Date: 2023/07/19/17:09
 * @Description:
 */
@Repository
public class UseRepository {
    public User getUser(){
        //伪代码
        User user=new User();
        user.setId(1);
        user.setName("张三");
        return user;
    }
}
